package com.ruoyi.common;/**
 * Created by wfly on 2018/8/30.
 */

/**
 * @Description TODO
 */
public class A implements C{
    public static int a = 5;
    static{
        System.out.println("static {} a ="+a);
        a = 7;
    }
    {
        System.out.println("{} a ="+a);
    }
    public void fun(){
        System.out.println("===A fun========");
    }
    public String fun1(){
        System.out.println("===A fun1========");
        return "==fun1===";
    }
}
interface C{
    void fun();
    String fun1();
}
class  B{
    public String funB(){
        System.out.println("====funB===");
        return "BBB";
    }
}
